// pages/rentBookMenu/index.js
Page({
  data:{
      list:[
      {
        id: 1,
        text: "我借的所有书籍",
        imgSrc: "/img/logo.png",
        toUrl: "my-all-book/my-all-book"
      },{
        id: 2,
        text: "到期的书籍",
        imgSrc: "/img/logo.png",
        toUrl: "rented-book/rented-book"
      },{
        id: 3,
        text: "未到期的书籍",
        imgSrc: "/img/logo.png",
        toUrl: "hand-book/hand-book"
      },{
        id: 4,
        text: "正在传出的书籍",
        imgSrc: "/img/logo.png",
        toUrl: "hand-book/hand-book"
      },{
        id: 3,
        text: "正在传进的书籍",
        imgSrc: "/img/logo.png",
        toUrl: "hand-book/hand-book"
      }
    ]
  },
  onLoad:function(options){
    // 页面初始化 options为页面跳转所带来的参数
  },
  onReady:function(){
    // 页面渲染完成
  },
  onShow:function(){
    // 页面显示
  },
  onHide:function(){
    // 页面隐藏
  },
  onUnload:function(){
    // 页面关闭
  }
})